package springx.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 夏JCC
 * @since 2022-05-19 16:31:58
 */
@Getter
@Setter
@TableName("t_admin_role")
@ApiModel(value = "AdminRole对象", description = "")
public class AdminRole {

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户id")
    @TableField("adminId")
    private Long adminId;

    @ApiModelProperty("权限id")
    @TableField("roleId")
    private Long roleId;


}
